Recursively find and return key and value from nested dictionaries python